package practice;

import java.util.Scanner;

public class SearchString {
    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        String s=stdIn.next();
        String s1=stdIn.next();
        int idx=s.indexOf(s1);
        if (idx==-1)
            System.out.println("不包含");
        else
            System.out.println(idx);
    }
}
